/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.pucp.Util.MapaHelper.JMapViewer.tilesources;

/**
 *
 * @author apple
 */
import pe.edu.pucp.Util.MapaHelper.JMapViewer.Coordinate;

public class MapQuestOsmTileSource extends AbstractMapQuestTileSource {

    private static final String PATTERN = "http://otile%d.mqcdn.com/tiles/1.0.0/osm";

    public MapQuestOsmTileSource() {
        super("MapQuest-OSM", PATTERN);
    }
    
    @Override
    public String getAttributionText(int zoom, Coordinate topLeft,
            Coordinate botRight) {
        return super.getAttributionText(zoom, topLeft, botRight)+"- "+MAPQUEST_ATTRIBUTION;
    }
}

